package com.decent.ejfadmin.product.request;

import lombok.Data;
import org.apache.commons.lang3.StringUtils;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Arrays;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author zhangchao
 * @date 2018/7/29 9:59
 */
@Data
public class SetUpRebateDiscountParam implements Serializable {
    private static final long serialVersionUID = 4948243730078860130L;

    private Long recommendId;

    private Long userId;

    private BigDecimal rebateDiscount;


    public boolean checkParams() {
        if (null == recommendId || null == userId || null == rebateDiscount){
            return true;
        }
        return false;
    }

}
